10. Token携带方式¶
HTTP Header
GET /drive/v2/files HTTP/1.1 Authorization: Bearer <token> Host: www.googleapis.com/
URL参数
GET https://www.googleapis.com/drive/v2/files?token=<token>
Python函数库
from googleapiclient.discovery import build drive = build('drive', 'v2', credentials=credentials)